package com.hzjy.manage.controller;


import com.hzjy.api.beans.HzjyUserPayRecord;
import com.hzjy.common.core.controller.BaseController;
import com.hzjy.common.core.domain.AjaxResult;
import com.hzjy.manage.service.impl.UserPayRecordServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 挂牌资讯
 *
 * @author hzjy
 * @date 2020-08-23
 */
@RestController
@RequestMapping("/manage/listing_information")
public class ListingInformationController extends BaseController {

    @Autowired
    private UserPayRecordServiceImpl userPayRecordService;

    /**
     * 发票列表
     */
    @PreAuthorize("@ss.hasPermi('manage:listing_information:list')")
    @GetMapping("/list")
    public AjaxResult list(HzjyUserPayRecord hzjyUserPayRecord){
        startPage();
        List<HzjyUserPayRecord> hzjyUserPayRecordList = userPayRecordService.list(hzjyUserPayRecord);
        return AjaxResult.success(hzjyUserPayRecordList);
    }
}
